import axios from "axios";

//引入api
import api from "../../../requests/api"
export default {
    namespaced: true,
    //下面写请求
    state: {
        allAdmins: []
    },
    actions: {
        async addAdmin(context, adminData) {
            // console.info(data)
            let { data } = await api.admins.addAdmin(adminData)
            console.info(data)
        }
    }

}